knitr::opts_chunk$set(echo = TRUE) library('AZASRS') library('tidyverse')
return_tibble
is important if you are joining. FALSE
returns a SQL object rather than a tibbleget_pm_nav_daily(return_tibble = TRUE) %>% head(5) # However, in this case, the default is TRUE so it is not needed
return_tibble
is important if you are joining. FALSE
returns a SQL object rather than a tibbleget_pm_cash_flow_daily(return_tibble = FALSE) %>% head(5)
get_pm_fund_info() %>% head(5)
con = AZASRS_DATABASE_CONNECTION() get_benchmark_daily_index(con, return_tibble = FALSE) %>% filter(effective_date >= '2018-01-01') %>% as_tibble() %>% head(10)
All settings are adjustable
nav = get_pm_nav_daily() %>% dplyr::filter(nav != 0) cf = get_pm_cash_flow_daily() %>% dplyr::filter(cash_flow != 0) pm_fund_info = get_pm_fund_info() start_date = '2019-09-30' end_date = '2019-12-31' itd = FALSE cash_adjusted = FALSE
final_data = build_grouped_irrs(start_date = start_date, end_date = end_date, itd = itd, cash_adjusted = cash_adjusted, pm_fund_info = pm_fund_info, pm_fund_portfolio) final_data %>% head()
final_data = build_grouped_irrs(start_date = start_date, end_date = end_date, itd = itd, cash_adjusted = cash_adjusted, pm_fund_info = pm_fund_info, pm_fund_portfolio, pm_fund_category_description) final_data %>% head()
final_data = build_grouped_irrs(start_date = start_date, end_date = end_date, itd = itd, cash_adjusted = cash_adjusted, pm_fund_info = pm_fund_info, pm_fund_portfolio, pm_fund_category_description, pm_fund_common_name) final_data %>% head()
pmfi = get_pm_fund_info() colnames(pmfi)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.